package com.lagou.edu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author 陶肖寅
 * @version V1.0
 * @Package com.lagou.edu.controller
 * @date 2020-02-02 21:51
 * @Copyright © 2020-2021 城云科技(中国)有限公司
 */
@Controller
@RequestMapping
public class IndexController {
    @RequestMapping("/login")
    public ModelAndView index(){
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("login");
        return modelAndView;
    }
}
